//
//  TKIMRefreshHeaderView.h
//  TKIM_首创
//
//  Created by macpro on 15/12/10.
//  Copyright © 2015年 liupm. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TKIMRefreshHeaderView : UIView

/**
 *  刷新视图的创建
 *
 *  @param scrollView         滚动视图
 *  @param beginLoadMoreBlock 开始加载历史数据的回调
 *
 *  @return 刷新视图对象
 */
- (instancetype)initWithScrollView:(UIScrollView *)scrollView beginLoadMoreBlock:(void(^)(TKIMRefreshHeaderView *))beginLoadMoreBlock;

@property (nonatomic,assign)BOOL haveMoreHistoryData;

/**
 *  停止刷新
 */
- (void)endRefresh;


@end
